<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    	<title>统战成员学习平台</title>
	    <link rel="stylesheet" type="text/css" href="../../css/base.css" />
	    <link rel="stylesheet" type="text/css" href="../../css/style.css" />
	</head>
	<body class="white">
		<div id="app" style="display:none" v-show="true">
			<transition name="fade">
				<spinner v-if="loading"></spinner>
				<div v-if="!loading" class="lesson_intro">
					<p class="title ui_border_b">{{courseName}}</p>
					<!-- <p class="info ui_border_b"><span class="user">讲师：王大军</span><i class="icon_eye"></i>107&emsp;2017-8-26 <span class="float_r"><i class="icon_favorite"></i>收藏</span></p> -->
					<p class="content">{{courseContent}}</p>
				</div>
			</transition>
		</div>
		<script type="text/javascript" src="../../script/api.js"></script>
		<script type="text/javascript" src="../../script/vue.min.js"></script>
		<script type="text/javascript" src="../../script/common.js"></script>
		<script type="text/javascript" src="../../script/layer_mobile/layer.js"></script>
		<script type="text/javascript">
		    new Vue({
				el: '#app',
		     	data: {
					loading: false,
					courseName: '',
					courseContent: '',
		     	},
				mounted: function() {
		        	var $this = this;
		        	apiready = function() {
						$this.courseName = api.pageParam.courseName;
						$this.courseContent = api.pageParam.courseContent;
                	}
		    	},
		    	methods: {
					init: function() {
						var $this = this;
                        post('/client/coursefront/queryById', {courseId: $this.courseId}, function(ret) {
							$this.loading = false;
							$this.detail = ret.data;
                        })
					}
		    	}
		    });
		</script>
	</body>
</html>
